<script src="http://localhost/simpegbkd/assets/grocery_crud/js/jquery-1.10.2.min.js"></script>
<?php
$this->meta->css(_ASSET_URL.'icons/css/font-awesome.min.css',FALSE);
$this->meta->css(_ASSET_URL.'grocery_crud/themes/twitter-bootstrap/css/bootstrap.min.css',FALSE);
$this->meta->css(_ASSET_URL.'grocery_crud/themes/twitter-bootstrap/css/bootstrap-responsive.min.css',FALSE);
$this->meta->css(_ASSET_URL.'grocery_crud/themes/twitter-bootstrap/css/style.css',FALSE);
$this->meta->css(_ASSET_URL.'grocery_crud/themes/twitter-bootstrap/css/jquery-ui/flick/jquery-ui-1.9.2.custom.css',FALSE);
$this->meta->css($this->theme_url.'css/layout.css',FALSE);

if( isset($page) ) 
{	
	if( isset($module) and !empty($module) )
	{
		if( file_exists(_ROOT."modules/$module/views/".$page.".php") ){
			include _ROOT . "modules/$module/views/".$page.".php";
		}else{
			echo "File : "._ROOT."modules/$module/views/".$page.".php tidak ditemukan";	
		}
	}else{
		
		if( file_exists(_ROOT."themes/".$page.".php") ){
			include _ROOT . "themes/".$page.".php";
		}else{
			echo "File : "._ROOT."themes/".$page.".php tidak ditemukan";	
		}
		
	}
}
?>